/**
 * Project hdmap
 * @author shengjialiang
 * @version v1.0
 */


#ifndef _IEVENT_H
#define _IEVENT_H

#include "map_common/CommonConfig.h"

namespace Common
{
    enum EventType
    {
        ET_DOWNLOAD,
        ET_UPLOAD,
        ET_LOADOBJECT,
        ET_UNLOADOBJECT,
        ET_SELECT,
        ET_NONE
    };

    class MAP_COMMON_EXPORTS IDataRequest
    {
    public:
        IDataRequest();

        virtual ~IDataRequest();
    };

    class MAP_COMMON_EXPORTS IEvent
    {
    public:
        IEvent();

        IEvent(EventType type);

        virtual ~IEvent();

    public:
        EventType Type;
        bool HasHandled;
    };

    
}
#endif //_IEVENT_H